package com.ljb.android.comm.startup

import android.content.Context
import androidx.startup.Initializer
import com.ljb.android.comm.CommInit
import com.ljb.android.comm.utils.XLog

class CommInitializer : Initializer<Any> {

    override fun create(context: Context): Any {
        val start = System.currentTimeMillis()
        CommInit.init(context)
        val end = System.currentTimeMillis()
        XLog.d("=== CommInitializer   init:${end - start}ms ===")
        return 0
    }

    override fun dependencies(): MutableList<Class<out Initializer<*>>> {
        return mutableListOf()
    }
}